home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q104 / 0 / 81.TXT < prev    next >
Text File  |  1993-09-30  |  3KB  |  73 lines

  1. DOCUMENT:Q104081  29-SEP-1993  [W_NT]
  2. TITLE   :Command Line NTBackup Won't Backup Files Using UNC Naming
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. -----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. -----------------------------------------------------------------------
  14.  
  15. Windows NT Backup (NTBACKUP.EXE) does not support uniform naming
  16. convention (UNC) naming for paths. For example, when issuing the
  17. command
  18.  
  19.    ntbackup backup \\server1\share\<dirname>
  20.  
  21. Windows NT Backup will not backup any files in the specified
  22. directory, even though files exist in the directory (\<dirname>).
  23.  
  24. MORE INFORMATION
  25. ================
  26.  
  27. This might be an issue for someone (such as a network administrator)
  28. who wants to make nightly backups using the AT command (which
  29. schedules programs to run on a computer at a specified time and date).
  30.  
  31. For example, you may want to issue the following command
  32.  
  33.    AT 3:30am backup.bat
  34.  
  35. where the contents of the BACKUP.BAT file are the following:
  36.  
  37.    ntbackup backup \\server1\share\sys
  38.  
  39. When you are using UNC naming conventions, you can avoid mapping a
  40. drive letter to a network resource; however, Windows NT Backup does
  41. not support UNC naming. 
  42.  
  43. In the above example, then, the correct contents for the BACKUP.BAT is
  44. the following:
  45.  
  46.    rem Disconnect the current network resource if it exists.
  47.    net use o: /d
  48.    rem Connect to the correct network resource for the backup.
  49.    net use o: \\server1\share
  50.    rem Run the backup to the network resource.
  51.    ntbackup backup o:\sys
  52.    rem Disconnect the current network resource.
  53.    net use o: /d
  54.  
  55. Additional reference words: 3.10
  56. KBCategory:
  57. KBSubCategory: ntap
  58.  
  59. =============================================================================
  60.  
  61. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  62. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  63. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  64. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  65. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  66. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  67. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  68. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  69. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  70. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  71. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  72.  
  73. Copyright Microsoft Corporation 1993.